package com.wang.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wang.dao.AtAdmins;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wang.dao.AtAdminsQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author wjq
* @description 针对表【at_admins】的数据库操作Mapper
* @createDate 2024-04-18 23:16:06
* @Entity com.wang.domain.AtAdmins
*/
@Mapper
public interface AtAdminsMapper extends BaseMapper<AtAdmins> {

    /**
     * 查询多条记录
     * @param page
     * @param query
     * @return  集合
     */
    List<AtAdmins> findList(IPage<AtAdmins> page, @Param("param") AtAdminsQuery query);


    /**
     * 批量删除操作(物理删除)
     * @param query
     * @return
     */
    int deleteBatch(@Param("param") AtAdminsQuery query);

    /**
     * 查询一条记录
     * @param query
     * @return
     */
    AtAdmins  findOne(@Param("param") AtAdminsQuery query);

    /**
     * 批量更新
     * @param query
     * @return
     */
    int updateBatch(@Param("param") AtAdminsQuery query);
}




